package com.afd.ozblip.entity;

import java.io.Serializable;
import java.util.List;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * 商家实体
 * 
 * @author 徐鹏
 * 
 */
@DatabaseTable
public class BusinessEntity implements Serializable {

	// 商家编号
	@DatabaseField(id = true)
	private String sellerId;
	// 商家店铺名称
	@DatabaseField
	private String sellerName;
	// 商家缩略图地址
	@DatabaseField
	private String sellerImg;
	// 商家电话
	@DatabaseField
	private String sellerTel;
	// 商家位置
	@DatabaseField
	private String sellerAddress;
	// 商家经度
	@DatabaseField
	private String sellerLongitude;
	// 商家纬度
	@DatabaseField
	private String sellerDimension;
	// 商家今天是否有优惠活动
	@DatabaseField
	private boolean couponFlg;
	// 是否可以办理会员卡
	@DatabaseField
	private boolean memberCardFlg;
	// 商家平均星级
	@DatabaseField
	private Float sellerStar;
	// 人均消费（元/人）
	@DatabaseField
	private String price;
	// 商家口味平均分
	@DatabaseField
	private Double ricPoint;
	// 商家服务平均分
	@DatabaseField
	private Double thrPoint;
	// 商家环境平均分
	@DatabaseField
	private Double envPoint;
	// 签到人数
	@DatabaseField
	private Integer sginCnt;
	// 是否收藏
	@DatabaseField
	private boolean isCollect;
	// 小类
	private String chiClass;
	// 大类
	private String parClass;
	// 商家距离
	private String distance;
	// 其它信息
	private String otherInfo;
	// 最新优惠活动
	private BusinessCouponEntity newsCoupon;
	// 推荐菜当前条数
	private Integer recDishCount;
	// 推荐菜6个
	private List<DishEntity> recommendDish;
	// 最新评论
	private ReviewEntity sellerTalkInfo;
	// 最新签到
	private SignEntity sellerPoint;

	public String getSellerName() {
		return sellerName;
	}

	public void setSellerName(String sellerName) {
		this.sellerName = sellerName;
	}

	public String getSellerId() {
		return sellerId;
	}

	public void setSellerId(String sellerId) {
		this.sellerId = sellerId;
	}

	public String getSellerImg() {
		return sellerImg;
	}

	public void setSellerImg(String sellerImg) {
		this.sellerImg = sellerImg;
	}

	public String getSellerTel() {
		return sellerTel;
	}

	public void setSellerTel(String sellerTel) {
		this.sellerTel = sellerTel;
	}

	public String getSellerAddress() {
		return sellerAddress;
	}

	public void setSellerAddress(String sellerAddress) {
		this.sellerAddress = sellerAddress;
	}

	public String getSellerLongitude() {
		return sellerLongitude;
	}

	public void setSellerLongitude(String sellerLongitude) {
		this.sellerLongitude = sellerLongitude;
	}

	public String getSellerDimension() {
		return sellerDimension;
	}

	public void setSellerDimension(String sellerDimension) {
		this.sellerDimension = sellerDimension;
	}

	public boolean isCouponFlg() {
		return couponFlg;
	}

	public void setCouponFlg(boolean couponFlg) {
		this.couponFlg = couponFlg;
	}

	public boolean isMemberCardFlg() {
		return memberCardFlg;
	}

	public void setMemberCardFlg(boolean memberCardFlg) {
		this.memberCardFlg = memberCardFlg;
	}

	public Float getSellerStar() {
		return sellerStar;
	}

	public void setSellerStar(Float sellerStar) {
		this.sellerStar = sellerStar;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public Double getRicPoint() {
		return ricPoint;
	}

	public void setRicPoint(Double ricPoint) {
		this.ricPoint = ricPoint;
	}

	public Double getThrPoint() {
		return thrPoint;
	}

	public void setThrPoint(Double thrPoint) {
		this.thrPoint = thrPoint;
	}

	public Double getEnvPoint() {
		return envPoint;
	}

	public void setEnvPoint(Double envPoint) {
		this.envPoint = envPoint;
	}

	public Integer getSginCnt() {
		return sginCnt;
	}

	public void setSginCnt(Integer sginCnt) {
		this.sginCnt = sginCnt;
	}

	public boolean isCollect() {
		return isCollect;
	}

	public void setCollect(boolean isCollect) {
		this.isCollect = isCollect;
	}

	public String getChiClass() {
		return chiClass;
	}

	public void setChiClass(String chiClass) {
		this.chiClass = chiClass;
	}

	public String getParClass() {
		return parClass;
	}

	public void setParClass(String parClass) {
		this.parClass = parClass;
	}

	public String getDistance() {
		return distance;
	}

	public void setDistance(String distance) {
		this.distance = distance;
	}

	public String getOtherInfo() {
		return otherInfo;
	}

	public void setOtherInfo(String otherInfo) {
		this.otherInfo = otherInfo;
	}

	public BusinessCouponEntity getNewsCoupon() {
		return newsCoupon;
	}

	public void setNewsCoupon(BusinessCouponEntity newsCoupon) {
		this.newsCoupon = newsCoupon;
	}

	public Integer getRecDishCount() {
		return recDishCount;
	}

	public void setRecDishCount(Integer recDishCount) {
		this.recDishCount = recDishCount;
	}

	public List<DishEntity> getRecommendDish() {
		return recommendDish;
	}

	public void setRecommendDish(List<DishEntity> recommendDish) {
		this.recommendDish = recommendDish;
	}

	public ReviewEntity getSellerTalkInfo() {
		return sellerTalkInfo;
	}

	public void setSellerTalkInfo(ReviewEntity sellerTalkInfo) {
		this.sellerTalkInfo = sellerTalkInfo;
	}

	public SignEntity getSellerPoint() {
		return sellerPoint;
	}

	public void setSellerPoint(SignEntity sellerPoint) {
		this.sellerPoint = sellerPoint;
	}

}
